package model;

import java.util.*;

public class Rent
{
	private int id;
	private Date moveInDate;
	private Date moveOutDate;
	private Renter renter;
	private Apartment apartment;
	
	

	public Rent()
	{
		this.moveOutDate = new Date(0);
		this.moveInDate = new Date(0);
	}

	public Rent(int id)
	{
		this.id = id;
		this.moveOutDate = new Date(0);
		this.moveInDate = new Date(0);

	}

	/* ACCESSORS */
	public int getId()
	{
		return id;
	}

	public Date getMoveInDate()
	{
		return moveInDate;
	}

	public Date getMoveOutDate()
	{

		return moveOutDate;
	}

	public Renter getRenter()
	{
		return renter;
	}

	public Apartment getApartment()
	{
		return apartment;
	}

	/* MUTATORS */
	public void setId(int id)
	{
		this.id = id;
	}

	public void setMoveInDate(Date moveInDate)
	{
		this.moveInDate = moveInDate;
	}

	public void setMoveOutDate(Date moveOutDate)
	{
			this.moveOutDate = moveOutDate;
	}

	public void setRenter(Renter renter)
	{
		this.renter = renter;
	}

	public void setApartment(Apartment apartment)
	{
		this.apartment = apartment;
	}

}
